package uit.net.core.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import uit.net.core.dao.AbstractJpaDao;
import uit.net.core.dao.EnglishByAudioDao;
import uit.net.core.domain.EnglishByAudio;

@Repository
@Transactional
public class EnglishByAudioDaoImpl extends AbstractJpaDao<EnglishByAudio> implements EnglishByAudioDao {
    
    public EnglishByAudioDaoImpl()
    {
        this.setClazz(EnglishByAudio.class);
    }

    public long count() {
        return entityManager.createQuery("SELECT COUNT(*) FROM EnglishByAudio",Long.class).getSingleResult();
    }

    public List<EnglishByAudio> findAll(int firstResult, int maxResults,
            String orderField, String orderDirection) {
        // TODO Auto-generated method stub
        return null;
    }

    public List<EnglishByAudio> findByIds(List<Long> ids) {
        // TODO Auto-generated method stub
        return null;
    }

    public List<EnglishByAudio> findByName(String name) {
        // TODO Auto-generated method stub
        return null;
    }
    
}
